import "dotenv/config";
import inquirer from "inquirer";

import { questions } from "./questions/postShare";
import { postShare } from "./utils/postShare";

inquirer.prompt(questions).then(async (answers) => {
  if (answers.isShow) {
    await Promise.all(new Array(4).map(() => postShare()))
  }
});
